﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityFrameworks.Data.Core;
using EntityFrameworks.Entity.Core;
using IRepository.Core;
using System.Data.Entity;
using EntityTest;
namespace DataTest
{
    public class BackgroundRepository<T> : DbContextRepository<T>, IExtensionRepository<T> where T : class
    {
        //public BackgroundRepository(IUnitOfWork db) //IoC时会出错的
        //    : base(db)
        //{

        //}
        public BackgroundRepository()
            : base(new backgroundEntities())
        {
        }
    }
}
